<template>
  <!--参赛作品-->
  <div class="home-background">
    <!--        头部-->
    <div class="header">
      <navbar class="home-nav">
        <div slot="left">
          <i class="el-icon-arrow-left back"></i>
        </div>
        <div slot="center">
          <el-button type="text" class="text">2020鲸意杯油画赛</el-button>
        </div>
        <div slot="right">
          <i class="el-icon-share top-icon"></i>
        </div>
      </navbar>
    </div>
    <div style="width: 100%;height: 49px"></div>
    <div class="competition-works">
      <div>
        <h3 class="title1">最新</h3>
        <h3 class="title2">最热</h3>
      </div>
      <div class="works">
        <onlinecomwork></onlinecomwork>
        <onlinecomwork></onlinecomwork>
        <onlinecomwork></onlinecomwork>
        <div style="width: 100%;height: 20px"></div>
      </div>
    </div>
  </div>
</template>

<script>
import navbar from "../../../components/nav-bar/nav-bar"
import onlinecomwork from "../../../components/online-com-work-card/online-com-work-card"

    export default {
      name: "online-competition-works",
      components:{
        navbar,
        onlinecomwork
      }
    }
</script>

<style scoped>
  .home-background{
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: #F2F2F2;
  }
  .header{
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
  }
  .home-nav{
    background-color: #B0E3FF;
    color: white;
    box-shadow: transparent;
    border: transparent;
  }
  .back{
    color: white;
    font-size: 25px;
    margin-top: 10px;
  }
  .text{
    color: white;
    font-size: 20px;
    margin-top: 2px;
  }
  .top-icon{
    color: white;
    font-size: 26px;
    margin-right: 5px;
    margin-top: 10px;
  }
  .competition-works{
    width: 100%;
    height: 100%;
    background-color: white;
    margin-top: 0px;
  }
  .title1{
    display: inline-block;
    margin: 0px 10px 20px 20px;
    padding-top: 20px;
    font-size: 20px;
  }
  .title2{
    display: inline-block;
    margin: 0px 10px 20px 20px;
    padding-top: 20px;
    font-size: 20px;
  }
  .works{
    width: 100%;
    height: auto;

  }
</style>
